package com.blb.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("course_orientation")
public class CourseOrientation implements Serializable {

  @TableId(type = IdType.AUTO)
  private Integer id;
  private String orientationName;
  private Integer parentId;

  @TableField(exist = false)
  private CourseOrientation parent;

}
